package cn.itcast.eduorder.client;

import cn.itcast.commonutils.ordervo.CourseWebVoOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "service-edu")
@Component
public interface EduClient {
    @PostMapping("/eduservice/coursefront/getCourseInfo/{courseId}")
    public CourseWebVoOrder getCourseInfo(@PathVariable String courseId);
}
